﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using CommunityServerRest;

namespace CSWriter.Blogs {
	public class RecentPostEntry : IComparable<RecentPostEntry>{
		public BlogInfo SourceBlog { get; set; }
		public string Title { get; set; }
		public int Id { get; set; }
		public string LocalFilename { get; set; }
		public DateTime Date { get; set; }

		#region IComparable Members


		#endregion

		#region IComparable<RecentPostEntry> Members

		public int CompareTo(RecentPostEntry other) {
			return Date.CompareTo(other.Date);
		}

		#endregion
	}
}
